package com.jie.config.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: 杰
 * @Project :net-disk
 * @DateTime: 2024/4/27 15:19
 **/
@Data
@Configuration
@ConfigurationProperties(prefix = "upload.minio")
public class MinioProperties {
    /**
     * 访问地址
     */
    private String endpoint;

    /**
     * accessKey类似于用户ID，用于唯一标识你的账户
     */
    private String accessKey;

    /**
     * secretKey是你账户的密码
     */
    private String secretKey;

    /**
     * 默认存储桶
     */
    private String bucketName;
    /**
     * 文件默认位置
     */
    private String imagePath;
    private String filePath;
    private String videoPath;
    /**
     * 分片文件位置
     */
    private String chunkFilePath;

}
